//
//  LNShopCartModuleService.m
//  LNBeeHive
//
//  Created by wwww on 2019/9/27.
//  Copyright © 2019 淘发现1iOS. All rights reserved.
//

#import "LNShopCartModuleService.h"
#import "LNShopCartViewModel.h"
#import "LNShopCartViewController.h"
#import "LNService.h"
@implementation LNShopCartModuleService

-(UIViewController *)LNViewController{
    
    LNShopCartViewModel *viewModel = [[LNShopCartViewModel alloc] initWithParams:nil];
    return [[LNRouter sharedInstance] viewContollerForViewModel:viewModel];
}


- (void)pushShopCartController {
    
    LNShopCartViewModel *viewModel = [[LNShopCartViewModel alloc] initWithParams:nil];
    [self.services pushViewModel:viewModel animated:YES];
}

-(void)prentShopCartController{
    
      LNShopCartViewModel *viewModel = [[LNShopCartViewModel alloc] initWithParams:nil];
    [self.services presentViewModel:viewModel animated:YES];
}
-(void)dissController{
    
    [self.services dismissViewModelAnimated:YES];
}
@end
